package com.evan.webadmin.biz.dao;

import com.evan.webadmin.biz.model.SubjectOption;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Delete;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Pavel
 * @since 2024-06-09
 */
public interface SubjectOptionMapper extends BaseMapper<SubjectOption> {

    @Delete("DELETE FROM biz_subject_option WHERE subject_id = #{subjectId}")
    void deleteBySubjectId(Long subjectId);
}
